package com.medical.data.service;

import com.medical.data.domain.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.data.domain.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cj
 * @since 2024-02-09
 */
public interface DepartmentService extends IService<Department> {

    List<Department> getKsByHsId(String id);

    void addDepartment(Department department);

    void updateDepartment(Department department);

    List<User> getUserByDepartmentId(String departmentId);

    List<Department> getDepartments(String hospitalId);

    String getDepartmentById(String departmentId);
}
